package com.xiaolin.hrsystem.service;

import com.xiaolin.hrsystem.utils.OptResult;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author xiaolin
 * @description 描述
 * @since 2024/10/9
 */
public interface SSOService {
    OptResult login(String code, HttpServletResponse response);

    OptResult info(HttpServletRequest request);

    OptResult logout(HttpServletRequest request);

    OptResult logoutCallback(String token);
}
